package cn.yunhe.dao;

import cn.yunhe.model.House;

import java.util.List;

public interface HouseDao {
    boolean insertHouse(House house);
    boolean updateHouse(House house);
    boolean deleteHouse(int hid);

    House getHouseById(int hid);
    List<House>searchHouse(House house);
    List<House>searchHouse(String hql);
}
